Fix debug build.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Sat, 18 Feb 2006 00:05:05 +0000 (01:05 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Sat, 18 Feb 2006 00:05:05 +0000 (01:05 +0100)
Signed-off-by: Keir Fraser <keir@xensource.com>
xen/arch/x86/hvm/svm/svm.c

index 2d8152ede7710c8ef6e01144566069947dafeeb1..2c8c4a0d843e06282f455dcfc0a45004e2724294 100644 (file)
@@ -176,7 +176,7 @@ static inline void svm_inject_exception(struct vmcb_struct *vmcb,
     event.fields.ev = 1;
     event.fields.errorcode = error_code;
 
-    ASSERT(vmcb->eventinj.v == 0);
+    ASSERT(vmcb->eventinj.fields.v == 0);
     
     vmcb->eventinj = event;
 }